package com.feib.soeasy.model;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @title (#)P0028Master.java<br>
 * @description P0028_MASTER<br>
 * @author Leo Lee<br>
 * @version 1.0.0 2011/12/08
 * @copyright Far Eastern International Bank Copyright (c) 2010<br>
 * @2011/12/08 create by Leo Lee<br>
 */
@Entity
@Table(name = "P0028_MASTER")
public class P0028Master{


	/**
	 * 
	 */
	private static final long serialVersionUID = -7359135008408186756L;
	/*
	 * P0028_MPK
	 * ITEMCD
	 * MRKEY
	 * USERNO
	 * AVBAL
	 * UPDATE_DATE
	 */
	private Long p0028Mpk; 
	private String itemcd;
	private String mrkey;
	private String userno;
	private Long avbal;
	private Date updateDate;
	
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name="P0028_MPK", nullable=false)
	public Long getP0028Mpk() {
		return p0028Mpk;
	}
	public void setP0028Mpk(Long mpk) {
		p0028Mpk = mpk;
	}
	
	@Column(name="ITEMCD", nullable=false)
	public String getItemcd() {
		return itemcd;
	}
	public void setItemcd(String itemcd) {
		this.itemcd = itemcd;
	}
	
	@Column(name="MRKEY", nullable=false)
	public String getMrkey() {
		return mrkey;
	}
	public void setMrkey(String mrkey) {
		this.mrkey = mrkey;
	}
	
	@Column(name="USERNO", nullable=false)
	public String getUserno() {
		return userno;
	}
	public void setUserno(String userno) {
		this.userno = userno;
	}
	
	@Column(name="AVBAL")
	public Long getAvbal() {
		return avbal;
	}
	public void setAvbal(Long avbal) {
		this.avbal = avbal;
	}
	
	@Column(name="UPDATE_DATE", nullable=true)
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	
	
	
}
